﻿using System;
using System.Collections.Generic;
using AgileBoard.Domain;

namespace AgileBoard.Demo
{
    public class FakeProjectData
    {
        public static List<Project> CreateTestProjects()
        {
            var projects = new List<Project>
                               {
                                   SomeProject(),
                                   DefaultProject(),
                                   DemoProject()
                               };

            for (int i = 0; i < 10; i++)
            {
                var sampleProject = new Project
                                        {
                                            ID = Guid.NewGuid(),
                                            CreateTime = DateTime.Now,
                                            Name = "otherProject"
                                        };

                projects.Add(sampleProject);
            }

            return projects;
        }

        public static Project SomeProject()
        {
            var someProject = new Project
                                  {
                                      ID = new Guid("2EBDBC36-3585-47b3-8709-BE3184956938"),
                                      CreateTime = DateTime.Now,
                                      Name = "someProject"
                                  };

            return someProject;
        }

        public static Project DemoProject()
        {
            var demo = new Project
                           {
                               ID = new Guid("29DC7A46-52B5-4941-AAE2-F48592847E42"),
                               CreateTime = DateTime.Now,
                               Name = "demo"
                           };

            return demo;
        }

        public static Project DefaultProject()
        {
            var Default = new Project
                              {
                                  ID = new Guid("BE4B0656-8685-439e-B4EA-66D5C9BA7508"),
                                  CreateTime = DateTime.Now,
                                  Name = "Default"
                              };

            return Default;
        }
    }
}